"use strict";
var Group_1 = require('../../models/Group');
var AddGroupDto = (function () {
    function AddGroupDto() {
    }
    AddGroupDto.toGroup = function (body) {
        var group = new Group_1.Group();
        group.name = body.name;
        group.description = body.description;
        group.project = body.projectId;
        return group;
    };
    return AddGroupDto;
}());
exports.AddGroupDto = AddGroupDto;
